import request from "@/utils/request.js";

export const listMember= (params) =>request.get('/api/hotel/member/list',{params})

export const deleteMember= (id) =>request.delete('/api/hotel/member/delete/'+id)

export const insertMember = (obj) => request.post('/api/hotel/member/insert',obj)

export const updateMember = (obj) => request.put('/api/hotel/member/update',obj)